export default {
	toLogin() {
		// uni.getUserInfo({
		// 	success: (res) => {
		// 		this.avatarUrl = res.userInfo.avatarUrl
		// 		this.nickName = res.userInfo.nickName
		// 		uni.navigateTo({
		// 			url: '/pages/publics/registered?avatarUrl='+ this.avatarUrl+'&nickName='+this.nickName
		// 		})
		// 	},
		// 	fail: () => {
		// 		console.log("未授权");
		// 	}
		// })
		uni.navigateTo({
			url: '/pages/publics/login'
		})
		
	},
	toUserAgreement() {
		uni.navigateTo({
			url: '/pages/publics/userAgreement'
		})
	}
}